//
//  UIColor+Hex.h
//  safemail
//
//  Created by Apple on 16/1/8.
//  Copyright © 2016年 Apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIColor (Hex)

/**
 *根据色值创建uicolor对象
 */
+ (UIColor *)colorWithHex:(long)hexColor;

/**
 *根据色值和透明度创建uicolor对象
 */
+ (UIColor *)colorWithHex:(long)hexColor alpha:(float)opacity;

@end
